package com.cskaoyan.service.admin;


import com.cskaoyan.bean.BasePageInfo;
import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.vo.BaseRespVo;
import com.cskaoyan.bean.param.CommonData;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author LC_RSH
 * @date 2022/6/26 17:53
 */
public interface MarketStorageService {
    /**
     * 通过对象Key和对象名称查找对象
     *
     * @author LC_R-SH
     * @since 2022/06/27 10:41
     */
    CommonData<MarketStorage> query(String key, String name, BasePageInfo info);


    /**
     * @author Can
     * @since 2022/06/26 17:57
     */
    BaseRespVo uploadImage(MultipartFile file);

    /**
     * @return
     * @author LC_R-SH
     * @since 2022/06/27 20:21
     */
    Integer delete(MarketStorage marketStorage);

    /**
     * 更新信息
     *
     * @return
     * @author LC_R-SH
     * @since 2022/06/27 18:48
     */
     MarketStorage update(MarketStorage marketStorage);

}
